package com.tracesystem.controller.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import java.util.List;

@Data
public class ProjectBindRoleForm {
    @Min(0)
    @ApiModelProperty("项目id")
    private Integer projectId;

    /**
     * SYS_USER表中对应的USER_ID
     */
    @ApiModelProperty("用户id")
    private List<Integer> userIds;

    /**
     * I_ISSUE_ROLE表中对应的ROLE_CODE
     */
    @ApiModelProperty("角色id")
    private Integer roleId;
}
